home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 June / MacFormat 25.iso / Shareware City / Developers / OutOfPhase1.1 Source / OutOfPhase Folder / NLProc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-01-04  |  1.0 KB  |  44 lines  |  [TEXT/KAHL]

  1. /* NLProc.h */
  2.  
  3. #ifndef Included_NLProc_h
  4. #define Included_NLProc_h
  5.  
  6. /* NLProc module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* FixedPoint */
  12. /* NonlinearProcSpec */
  13. /* Memory */
  14. /* WaveTableObject */
  15. /* AlgoWaveTableObject */
  16. /* SampleConsts */
  17. /* FloatingPoint */
  18. /* FastFixedPoint */
  19. /* WaveIndexUtility */
  20.  
  21. #include "FixedPoint.h"
  22.  
  23. struct NLProcRec;
  24. typedef struct NLProcRec NLProcRec;
  25.  
  26. /* flush free list elements */
  27. void                            FlushCachedNLProcStuff(void);
  28.  
  29. /* create a new nonlinear processor */
  30. NLProcRec*                NewNLProcProcessor(struct NonlinProcSpecRec* Template,
  31.                                         MyBoolean StereoFlag, float InverseVolume);
  32.  
  33. /* dispose of the nonlinear processor */
  34. void                            DisposeNLProcProcessor(NLProcRec* NLProc);
  35.  
  36. /* update nonlinear state with accent information */
  37. void                            UpdateNLProcState(NLProcRec* NLProc, float Accent1, float Accent2,
  38.                                         float Accent3, float Accent4);
  39.  
  40. /* apply nonlinear processing to some stuff */
  41. void                            ApplyNLProc(largefixedsigned* Data, long NumFrames, NLProcRec* NLProc);
  42.  
  43. #endif
  44.